﻿@{
    Layout = "~/views/shared/_LayoutRegister.cshtml";
    ViewBag.Title = "会员主页";
    var Member = ViewData["Member"] as Domain.Model.User;
    var news = ViewData["news"] as List<Domain.Model.News>;
}



<div class="fr2 green fs-25 Tbrline">首页</div>
<div class="fr2">
    <!-- 会员信息 -->
    <div class="info-wrap">
        <div class="info-tt">
            会员信息
        </div>
        <div class="info-wr">
            <ul>
                <li>会员编号: <span>@Model.Account [@Model.Level]</span></li>
                <li>游戏豆: <span>@Model.GameBean</span></li>
                <li>游戏豆价值: <span>$@Model.GameBeanValue</span></li>
                <li>游戏状态: <span>@Model.GameState</span></li>
                <li>出局倍数: <span>@(Model.OutMultiple)倍</span></li>
            </ul>
        </div>
        <div class="info-wr">
            <ul>
                <li>电子币钱包: <span>$@Model.ElectronicToken</span></li>
                <li>报单币钱包: <span>$@Model.DeclarationToken</span></li>
                <li>奖金币钱包: <span>$@Model.BonusToken</span></li>
                <li>基金币钱包: <span>$@Model.FundToken</span></li>
            </ul>
        </div>
    </div>
    <!-- end 会员信息 -->
</div>
<div class="fr2">
    <!-- 最新资讯 -->
    <div class="info-wc-lf">
        <div class="info-tt po-re">
            最新资讯
                        <a href="/member/newinfo" class="info-more">更多>></a>
        </div>
        <ul class="info-item">

            @foreach (var item in news)
            {
                <li>&raquo;<a href="/member/NewDetail/@item.ID">@item.Title</a><span>@item.CreateTime.ToString("yyyy-MM-dd")</span></li>
            }
        </ul>
    </div>
    <!-- end 最新资讯 -->
    <!-- 交易曲线图 -->
    <div class="info-wc-rf">
        <div class="info-tt">
            EP交易曲线图
        </div>
        <div>
            <img src="/image/pic3.jpg" width="265" />
        </div>
    </div>
    <!-- end 交易曲线图 -->
</div>
